<?php

namespace App\Services\Admin;

use App\JsonRpc\AdminAuthInterface;
use App\Response\AdminServiceResponse;
use Hyperf\RpcClient\AbstractServiceClient;

class AdminAuthService extends AbstractServiceClient
{
    protected $serviceName = "AdminAuthService";

    protected $protocol = "jsonrpc";

    public function login(array $params)
    {
        return new AdminServiceResponse($this->__request(__FUNCTION__,compact("params")));
    }
}